'use strict'

const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,

    devServer: {
        host: '0.0.0.0',
        port: 8080,
        open: true,
        proxy: {
            '/api/code': {
                target: `http://localhost:10010`, changeOrigin: true, pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
})
